/// CreateTime 2020/6/11 10:27
/// CreateUser chen 
/// ProjectName flutter_elf
import 'package:flutter_elf/config/component_index.dart';

class TopicPage extends StatefulWidget{
  @override
  State<StatefulWidget> createState() {
    // TODO: implement createState
    return TopicPageState();
  }
}

class TopicPageState extends State<TopicPage>{
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBarCreator.create(context, '主题'),
      body: Column(
        children: <Widget>[
          TextField(
            buildCounter: counter,
          ),
        ],
      ),
    );
  }
  Widget counter(BuildContext context, {int currentLength, int maxLength, bool isFocused,}){
    return Text('测试');
  }
}